<?php
/**
 * @package EDO
 * @subpackage Collections
 *
 */
class Lead_EDO_Collection
{
	static public function factory($collectionType, Lead_EDO_Handler_Interface $edo)
	{
		Zend_Loader::loadClass('Lead_EDO_Collection_Abstract');
	    $collectionType = ucfirst(strtolower($collectionType));
	    $className = "Lead_EDO_Collection_{$collectionType}";
		Zend_Loader::loadClass($className);
		$coll = new $className($edo); 
		return $coll;
	}
}